<?php
/** app path **/
$root = dirname(__FILE__) . DIRECTORY_SEPARATOR . '..';
define('ROOT', $root);
define('APP_TIMEZONE','Asia/Ho_Chi_Minh');
define('SITE_NAME','My site');
define('SLOGAN','We build apps for better life experience');
define('SITE_NAME_URL','http://localhost/yii/bus/');
define('SUPPORT_EMAIL','info@myproject.com');
define('FRONT_SITE_URL','http://localhost/yii/bus/');
define('BACKEND_SITE_URL','http://localhost/yii/bus/backend/');
define('WWW_URL', 'http://localhost/yii/bus/www/');



/******file*******/
$wwwPath = ROOT . DIRECTORY_SEPARATOR . 'www' . DIRECTORY_SEPARATOR ;
define('UPLOAD_PATH', $wwwPath . 'uploads' . DIRECTORY_SEPARATOR);
define('UPLOAD_URL', WWW_URL . 'uploads/');

define('AVATAR_PATH', $wwwPath . 'uploads' . DIRECTORY_SEPARATOR . 'avatar' . DIRECTORY_SEPARATOR);
define('AVATAR_URL', WWW_URL . 'uploads/avatar/');

define('LOGO_PATH', $wwwPath . 'uploads' . DIRECTORY_SEPARATOR . 'logo' . DIRECTORY_SEPARATOR);
define('LOGO_URL', WWW_URL . 'uploads/logo/');

define('IMAGE_PATH', $wwwPath . 'images' . DIRECTORY_SEPARATOR);
define('IMAGE_URL', WWW_URL . 'images/');

define('CONTENT_PATH', $wwwPath . 'uploads' . DIRECTORY_SEPARATOR . 'content' . DIRECTORY_SEPARATOR);
define('CONTENT_URL', WWW_URL . 'uploads/content/');

define('REPORT_PATH', $wwwPath . 'uploads' . DIRECTORY_SEPARATOR . 'report' . DIRECTORY_SEPARATOR);
define('REPORT_URL', WWW_URL . 'uploads/report/');

define('THUMB_PATH', $wwwPath . 'thumbs' . DIRECTORY_SEPARATOR);
define('THUMB_URL', WWW_URL . 'thumbs/');

define('RESOURCE_URL',WWW_URL.'resources/');

define('GALLERY_URL',WWW_URL.'uploads/gallery/');
//caching
define('FRONTEND_CLEAR_CACHE_KEY', 'af234uajad234piasdjal32');